from flask import Flask,render_template

app = Flask(__name__,static_folder="static",static_url_path="/static")

@app.route("/")
def index():
    return render_template("index.html")

@app.route("/main")
def main():
    return render_template("main.html")

@app.route("/mid")
def mid():
    return render_template("各区的房租金额中位数.html")

@app.route("/mean")
def mean():
    return render_template("各区的房租金额平均值.html")

@app.route("/max")
def max():
    return render_template("各区的房租金额最大值.html")

@app.route("/min")
def min():
    return render_template("各区的房租金额最小值.html")

@app.route("/sum")
def sum():
    return render_template("每个区的租房数量占比.html")

if __name__ == '__main__':
    app.run(host="0.0.0.0",port=80)
